package com.mgkj.demo.entity.eten;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 品号财务信息/CHT/品號財務資料/ENU/Item Financial Data
 * </p>
 *
 * @author yyyjcg
 * @since 2024-10-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ItemFinancial对象", description="品号财务信息/CHT/品號財務資料/ENU/Item Financial Data")
public class ItemFinancial extends Model<ItemFinancial> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联部门")
    @TableField("Owner_Dept")
    private String ownerDept;

    @ApiModelProperty(value = "关联员工")
    @TableField("Owner_Emp")
    private String ownerEmp;

    @ApiModelProperty(value = "主键")
      @TableId(value = "ITEM_BUSINESS_ID", type = IdType.AUTO)
    private String itemBusinessId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "品号")
    private String itemId;

    @ApiModelProperty(value = "税目")
    private String taxCategoryId;

    @ApiModelProperty(value = "存货会计分类")
    private String imFicategoryId;

    @ApiModelProperty(value = "存货成本分类")
    private String imCostCategoryId;

    @ApiModelProperty(value = "按特征码区分成本")
    private Boolean itemFeatureCostFlag;

    @ApiModelProperty(value = "在制约量估算分类")
    private String imCostCategory2Id;

    @ApiModelProperty(value = "品号来源")
    private String source;

    @ApiModelProperty(value = "PLM传输批次号")
    private String plmDatakey;

    @ApiModelProperty(value = "品号销售保修分类")
    private String iswarrCategoryId;

    @ApiModelProperty(value = "预算控制分类")
    private String budgetCtrlCategoryId;

    @ApiModelProperty(value = "进口关税分类")
    private String importTariffCategory;

    @ApiModelProperty(value = "进口货物税分类")
    private String commodityTaxCategory;

    @ApiModelProperty(value = "创建日期")
    @TableField("CreateDate")
    private LocalDateTime createdate;

    @ApiModelProperty(value = "最后修改日期")
    @TableField("LastModifiedDate")
    private LocalDateTime lastmodifieddate;

    @ApiModelProperty(value = "修改日期")
    @TableField("ModifiedDate")
    private LocalDateTime modifieddate;

    @ApiModelProperty(value = "创建者")
    @TableField("CreateBy")
    private String createby;

    @ApiModelProperty(value = "最后修改者")
    @TableField("LastModifiedBy")
    private String lastmodifiedby;

    @ApiModelProperty(value = "修改者")
    @TableField("ModifiedBy")
    private String modifiedby;

    @ApiModelProperty(value = "自定义字段0")
    private Double udf001;

    @ApiModelProperty(value = "自定义字段1")
    private Double udf002;

    @ApiModelProperty(value = "自定义字段2")
    private Double udf003;

    @ApiModelProperty(value = "自定义字段3")
    private Double udf011;

    @ApiModelProperty(value = "自定义字段4")
    private Double udf012;

    @ApiModelProperty(value = "自定义字段5")
    private Double udf013;

    @ApiModelProperty(value = "自定义字段6")
    private String udf021;

    @ApiModelProperty(value = "自定义字段7")
    private String udf022;

    @ApiModelProperty(value = "自定义字段8")
    private String udf023;

    @ApiModelProperty(value = "自定义字段9")
    private String udf024;

    @ApiModelProperty(value = "自定义字段10")
    private String udf025;

    @ApiModelProperty(value = "自定义字段11")
    private String udf026;

    @ApiModelProperty(value = "自定义字段12")
    private LocalDateTime udf041;

    @ApiModelProperty(value = "自定义字段13")
    private LocalDateTime udf042;

    @ApiModelProperty(value = "自定义字段14")
    private String udf051;

    @ApiModelProperty(value = "自定义字段15")
    private String udf052;

    @ApiModelProperty(value = "自定义字段16")
    private String udf053;

    @ApiModelProperty(value = "自定义字段17")
    private String udf054;

    @ApiModelProperty(value = "附件")
    @TableField("Attachments")
    private String attachments;

    @ApiModelProperty(value = "表单所在的流程实例的编号")
    @TableField("ProcessInstanceId")
    private String processinstanceid;

    @ApiModelProperty(value = "版本号，不要随意更改")
    @TableField("Version")
    private LocalDateTime version;

    @ApiModelProperty(value = "单据状态属性")
    @TableField("ApproveStatus")
    private String approvestatus;

    @ApiModelProperty(value = "修改日期")
    @TableField("ApproveDate")
    private LocalDateTime approvedate;

    @ApiModelProperty(value = "修改人")
    @TableField("ApproveBy")
    private String approveby;

    @TableField("Owner_Org_RTK")
    private String ownerOrgRtk;

    @TableField("Owner_Org_ROid")
    private String ownerOrgRoid;

    @ApiModelProperty(value = "品号收入确认分类")
    private String w061ItemRrCategoryId;

    @ApiModelProperty(value = "税收政策")
    private String w055TaxPolicyId;


    @Override
    protected Serializable pkVal() {
        return this.itemBusinessId;
    }

}
